#include<bits/stdc++.h>
using namespace std;
int main()
{
	freopen("network.in","r",stdin);
	freopen("network.out","w",stdout);
	int n,i;
	string a,b;
	cin>>n;
	for(i=1;i<=n;i++)
	{
		cin>>a;
		cout<<a;
	}
	fclose(stdin);
	fclose(stdout);
}
